package com.zkthink.ceres.store.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zkthink.base.R;
import com.zkthink.base.request.PageParams;
import com.zkthink.base.service.SuperService;
import com.zkthink.ceres.store.dto.ApplyStoreDto;
import com.zkthink.ceres.store.dto.ApplyVehiclesDto;
import com.zkthink.ceres.store.dto.ExamineDTO;
import com.zkthink.ceres.store.entity.StoreJoin;

/**
 * <p>
 * 业务接口
 * 
 * </p>
 *
 * @author chenke
 * @date 2022-04-22
 */
public interface StoreJoinService extends SuperService<StoreJoin> {
    /**
     * 申请店铺
     * @param storeJoin
     * @return
     */
    R applyStore(ApplyStoreDto storeJoin);

    /**
     * 审核
     * @param dto
     * @return
     */
    R examineStore(ExamineDTO dto);

    /**
     * 分页
     * @param page
     * @return
     */
    IPage<StoreJoin> IPagelist(PageParams<StoreJoin> page);

    int deletStore(Long id);

    R updateStore(ApplyStoreDto storeJoin);

}
